package cn.ccit.iservers;

import java.util.List;

import cn.ccit.entites.DiningTable;
/**
 * 
 * ClassName: IDiningTableServers <br/> 
 * Function: TODO ADD FUNCTION. <br/> 
 * Reason: TODO ADD REASON(可选). <br/> 
 * date: 2016年11月5日 下午4:20:02 <br/> 
 * 
 * @author Administrator 
 * @version  
 * @since JDK 1.6
 */
public interface IDiningTableServers {
	public boolean addDiningTable(DiningTable dt);//添加餐桌
	public boolean removeDiningTable(DiningTable dt);//移除
	public boolean changeDiningTableInfo(DiningTable dt);//修改
	public List<DiningTable> getSomeDiningTables(int start,int limit);//获取一定条数数据
	public DiningTable searchDiningTableByID(int id);//通过id搜索餐桌
	public DiningTable searchDiningTableByName(String name);//通过名字
	public boolean changeDiningTableState(DiningTable dt);//开台
}
